package org.jackysoft.service;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;

import org.jackysoft.data.IDataProvider;
import org.jackysoft.entity.HTMLTemplate;
import org.springframework.dao.DataAccessException;

public interface HTMLTemplateService extends IDataProvider<String,HTMLTemplate> {
           
      void create(File file,String fileName) throws DataAccessException; 
      
    
      void update(HTMLTemplate tpl,File temp,String fileName) throws DataAccessException, FileNotFoundException, IOException;
      void update(String id ,String content) throws DataAccessException;
}
